package com.example.bean;

public class Product {
    private Integer pid;
    private String pname;
    private Double price;

    public Product() {}


    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Product{pid=" + pid + ", pname='" + pname + "', price=" + price + "}";
    }
}